package cn.tedu.apps_system.service;

import cn.tedu.apps_system.base.response.JsonResult;
import cn.tedu.apps_system.pojo.dto.UserLoginDto;
import cn.tedu.apps_system.pojo.dto.UserRegDto;

import javax.servlet.http.HttpSession;

public interface UserService {
    JsonResult registerUser(UserRegDto userRegDto);

    JsonResult loginUser(UserLoginDto userLoginDto, HttpSession session);

    JsonResult reviseUser(UserRegDto userRegDto, HttpSession session);

    JsonResult logoutUser(HttpSession session);
}
